package admin

import (
	auto "beergo/app/com/auto/controller"
	"beergo/app/com/conf"
	"github.com/beego/beego/v2/server/web"
)

type BannerPositionAdminController struct {
	auto.BannerPositionController
}

func init() {
	web.Router(conf.UrlPrefixAdmin + "/BannerPosition/:id", 		&BannerPositionAdminController{}, "*:GetAction")
	web.Router(conf.UrlPrefixAdmin + "/BannerPosition/info", 		&BannerPositionAdminController{}, "*:InfoAction")
	web.Router(conf.UrlPrefixAdmin + "/BannerPosition/scan", 		&BannerPositionAdminController{}, "*:ScanAction")
	web.Router(conf.UrlPrefixAdmin + "/BannerPosition/list", 	    &BannerPositionAdminController{}, "*:ListAction")
	web.Router(conf.UrlPrefixAdmin + "/BannerPosition/update", 	&BannerPositionAdminController{}, "*:UpdateAction")
	web.Router(conf.UrlPrefixAdmin + "/BannerPosition/create", 	&BannerPositionAdminController{}, "*:CreateAction")
	web.Router(conf.UrlPrefixAdmin + "/BannerPosition/copy", 	    &BannerPositionAdminController{}, "*:CopyAction")
	web.Router(conf.UrlPrefixAdmin + "/BannerPosition/edit", 	    &BannerPositionAdminController{}, "*:EditAction")
	web.Router(conf.UrlPrefixAdmin + "/BannerPosition/delete", 	&BannerPositionAdminController{}, "*:DeleteAction")
	web.Router(conf.UrlPrefixAdmin + "/BannerPosition/:id/:field", &BannerPositionAdminController{}, "*:SonsAction")
	web.Router(conf.UrlPrefixAdmin + "/BannerPosition/choice", &BannerPositionAdminController{}, "*:ChoiceAction")
	web.Router(conf.UrlPrefixAdmin + "/BannerPosition/category", &BannerPositionAdminController{}, "*:CategoryAction")
}
//func (this *BannerPositionAdminController) Prepare() {}
//func (this *BannerPositionAdminController) ListAction() {}
//func (this *BannerPositionAdminController) GetAction() {}
//func (this *BannerPositionAdminController) InfoAction() {}
//func (this *BannerPositionAdminController) ScanAction() {}
//func (this *BannerPositionAdminController) CreateAction() {}
//func (this *BannerPositionAdminController) UpdateAction() {}
//func (this *BannerPositionAdminController) CopyAction() {}
//func (this *BannerPositionAdminController) DeleteAction() {}
//func (this *BannerPositionAdminController) EditAction() {}
//func (this *BannerPositionAdminController) SonsAction() {}
//func (this *BannerPositionAdminController) ChoiceAction() {}
//func (this *BannerPositionAdminController) CategoryAction() {}
